package com.halko.PR.pojo;

import java.util.List;

/**
 * 统一结果封装
 * @author halko
 * @create 2021-04-08 15:50
 */
public class Result {
    //响应码
    private Integer code;
    //信息
    private List<String> message;
    //返回数据
    private  Object data;

    public Result() {
    }

    public Result(Integer code, List<String> message, Object data) {
        this.code = code;
        this.message = message;
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public List<String> getMessage() {
        return message;
    }

    public void setMessage(List<String> message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
